package ControlLayer;

import DBLayer.DBTreatmentRel;
import DBLayer.IFDBTreatmentRel;
import ExceptionLayer.CustomException;
import ModelLayer.Treatment;

public class TreatmentRelCtr 
{
	private IFDBTreatmentRel treatmentRelDb;
	
	public TreatmentRelCtr()
	{
		treatmentRelDb = new DBTreatmentRel();
	}
	
	public void addTreatmentRel(Treatment parent, Treatment sub) throws CustomException
	{
		treatmentRelDb.insertTreatRel(parent, sub);
	}
}
